﻿namespace Snipps.ViewModels
{
    using Snipps.Infrastructure;

    public class ActiveViewModel : BindableBase, IsActive
    {
        private bool _isActive;

        public bool IsActive
        {
            get
            {
                return _isActive;
            }

            set
            {
                SetProperty(ref _isActive, value, "IsActive", OnIsActiveChanged);
            }
        }

        protected virtual void OnIsActiveChanged()
        {
        }
    }
}